package com.duoec.magichour.core;

/**
 * Created by ycoe on 17/6/25.
 */
public interface BaseMapper<T, ID> {

    int insertSelective(T entity);

    T selectByPrimaryKey(ID id);

    int updateByPrimaryKeySelective(T entity);
}
